<template>
    <a @click="handleClickToggle">show</a>
    <sa-image-zoom v-model:show="show" :src="imgsrc"></sa-image-zoom>
</template>

<script lang="ts" setup>
import imgsrc from './210422095936-1.jpg';
import {ref} from 'vue';
let show = ref<boolean>(false);
const handleClickToggle = () =>{
    show.value = true;
}
</script>